﻿using SolidWorks.Interop.sldworks;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SwParaPlatform2.tools
{
    internal class SwAppMgr
    {
        public ISldWorks iSwApp = null;
        private static SwAppMgr instance;

        private SwAppMgr()
        {
        }

        public static SwAppMgr Instance
        {
            get
            {
                if (instance == null)
                {
                    instance = new SwAppMgr();
                }
                return instance;
            }
        }

        public void SetSldApp(ISldWorks SwApp)
        {
            iSwApp = SwApp;
        }
    }
}
